package day09.Homework;

import day03.Student;

import java.util.HashMap;

public class Homework1 {
    public static void main(String[] args) {
        Point p1 = new Point(3, 2);
        Point p2 = new Point(3, 2);

        System.out.println(p1.hashCode());
        System.out.println(p2.hashCode());

        System.out.println(p1.equals(p2));

        HashMap<Point, Double> map = new HashMap<>();
        map.put(p1, 100.0);
        map.put(p2, 120.0);
        System.out.println(map);

    }
}
